package com.yuanian.timingwheel.annotation;

import java.lang.annotation.*;

/**
 * 非cron表达式
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TimingTask {

    /**
     * 动态参数的解析器，需要实现TaskExecutionBuilder
     * @return
     */
    String dynamicParamSolver() default "dynamicParamSolver";

    TimingTaskType timingTaskType() default TimingTaskType.MANUAL;

}
